package com.nari.ncps.screen.dto.excelimport.electric;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 发电情况详情表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_electric_prodoper_power_general")
@Schema(name = "ElectricProdoperPowerGeneral对象", description = "发电情况详情表")
public class ElectricProdoperPowerGeneral implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "年份")
    @TableField("year")
    private Integer year;

    @Schema(description = "月份(1-12)")
    @TableField("month")
    private Integer month;

    @Schema(description = "年计划发电量(万千瓦时)")
    @TableField("annual_plan_power")
    private BigDecimal annualPlanPower;

    @Schema(description = "年实际发电量(万千瓦时)")
    @TableField("annual_actual_power")
    private BigDecimal annualActualPower;

    @Schema(description = "年发电完成率(%)")
    @TableField("annual_completion_rate")
    private BigDecimal annualCompletionRate;

    @Schema(description = "年超欠量(万千瓦时)")
    @TableField("annual_over_shortage")
    private BigDecimal annualOverShortage;

    @Schema(description = "月计划发电量(万千瓦时)")
    @TableField("monthly_plan_power")
    private BigDecimal monthlyPlanPower;

    @Schema(description = "月实际发电量(万千瓦时)")
    @TableField("monthly_actual_power")
    private BigDecimal monthlyActualPower;

    @Schema(description = "月实际完成率(%)")
    @TableField("monthly_completion_rate")
    private BigDecimal monthlyCompletionRate;

    @Schema(description = "月超欠量(万千瓦时)")
    @TableField("monthly_over_shortage")
    private BigDecimal monthlyOverShortage;

    @Schema(description = "电厂单位编码")
    @TableField("power_plant_code")
    private String powerPlantCode;

    @Schema(description = "电厂单位名称")
    @TableField("power_plant_name")
    private String powerPlantName;

    @Schema(description = "创建时间")
    @TableField("created_at")
    private Date createdAt;

    @Schema(description = "创建人")
    @TableField("created_by")
    private String createdBy;

    @Schema(description = "更新时间")
    @TableField("updated_at")
    private Date updatedAt;

    @Schema(description = "更新人")
    @TableField("updated_by")
    private String updatedBy;
}
